home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / prog / atari / c / nos042_s / ftp.h < prev    next >
C/C++ Source or Header  |  1994-09-16  |  698b  |  21 lines

  1. /****************************************************************************
  2. *    $Id: ftp.h 1.2 94/02/02 14:37:47 ROOT_DOS Exp $
  3. *    01 Feb 94    1.2        GT    "wrapcol" in file prototypes.
  4. ****************************************************************************/
  5. #ifndef    _FTP_H
  6. #define    _FTP_H
  7.  
  8. /* Definitions common to both FTP servers and clients */
  9. #define    BLKSIZE    2048    /* Chunk size for file I/O */
  10.  
  11. #define    ASCII_TYPE    0
  12. #define    IMAGE_TYPE    1
  13. #define    LOGICAL_TYPE    2
  14.  
  15. /* In ftpsubr.c: */
  16. long sendfile __ARGS((FILE *fp,int s,int mode,int hash, int wrapcol));
  17. long recvfile __ARGS((FILE *fp,int s,int mode,int hash, int wrapcol));
  18. int isbinary __ARGS((FILE *fp));
  19.  
  20. #endif    /* _FTP_H */
  21.